package com.server.llh.llhserverwork.bean;

import java.util.Map;

/**
 * Created by ZTF on 2017-04-26.
 * 登陆bean
 */

public class LoginInfoBean {


    /**
     * data : {"userId":"e7c4127e-040c-4cb7-84b9-807656f6aa7d","loginPassword":"e10adc3949ba59abbe56e057f20f883e","loginPhone":"18301155715","originOrgId":"1","originOrgType":1,"originOrgName":"集团","currentOrgId":"1","currentOrgType":1,"currentOrgName":"集团","userStatus":1,"isValidate":0}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {

        /**
         * token : 7a5db72b-4f07-4640-8dca-3148d137ff89
         * userId : 399c65c0-3903-45a3-90b3-4899ed11f9a7
         * userName : 杨某某
         * loginName : ymm
         * loginPhone : 15300000000
         * currentOrgId : 14135878-6c75-433c-b406-11cd065a9ffc
         * currentOrgName : 测试机构
         */

        private String token;
        private String userId;
        private String userName;
        private String loginName;
        private String loginPhone;
        private String currentOrgId;
        private String currentOrgName;
        private String emergencyPhone;
        private int currentOrgType;
        private Map<String,String> waiterOrgList;//服务员所属机构（工作机构/兼职机构） workOrg 代表工作机构 partTimeOrg代表兼职机构

        public Map<String, String> getWaiterOrgList() {
            return waiterOrgList;
        }
        public void setWaiterOrgList(Map<String, String> waiterOrgList) {
            this.waiterOrgList = waiterOrgList;
        }
        public String getSignState() {
            return signState;
        }

        public void setSignState(String signState) {
            this.signState = signState;
        }

        public String getSignId() {
            return signId;
        }

        public void setSignId(String signId) {
            this.signId = signId;
        }

        public String getSignElderlyId() {
            return signElderlyId;
        }

        public void setSignElderlyId(String signElderlyId) {
            this.signElderlyId = signElderlyId;
        }

        private String signState;//签到状态 1：签到 2：签退（默认是2）
        private String signId;//签到标识，用来签退
        private String signElderlyId;//签到老人标识，用来查看任务



        public Integer getUserRole() {
            return userRole;
        }

        public void setUserRole(Integer userRole) {
            this.userRole = userRole;
        }

        private Integer userRole;
        public int getCurrentOrgType() {
            return currentOrgType;
        }

        public void setCurrentOrgType(int currentOrgType) {
            this.currentOrgType = currentOrgType;
        }



        public String getEmergencyPhone() {
            return emergencyPhone;
        }

        public void setEmergencyPhone(String emergencyPhone) {
            this.emergencyPhone = emergencyPhone;
        }

        public String getServerPhone() {
            return serverPhone;
        }

        public void setServerPhone(String serverPhone) {
            this.serverPhone = serverPhone;
        }

        private String serverPhone;


        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getLoginPhone() {
            return loginPhone;
        }

        public void setLoginPhone(String loginPhone) {
            this.loginPhone = loginPhone;
        }

        public String getCurrentOrgId() {
            return currentOrgId;
        }

        public void setCurrentOrgId(String currentOrgId) {
            this.currentOrgId = currentOrgId;
        }

        public String getCurrentOrgName() {
            return currentOrgName;
        }

        public void setCurrentOrgName(String currentOrgName) {
            this.currentOrgName = currentOrgName;
        }
    }

}
